<!--
  Generated template for the RegisterPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar color="mainColor">
    <ion-title>注册会员</ion-title>
  </ion-navbar>

</ion-header>


<ion-content>
  <div class="login-box">
    <div>
      <i class="my-icon-email"></i>
      <input type="text" [(ngModel)]="username" placeholder="请输入邮箱">
    </div>
    <div>
      <i class="my-icon-user"></i>
      <input type="text" [(ngModel)]="realname" placeholder="请输入真实姓名">
    </div>
    <div>
      <i class="my-icon-stu-num"></i>
      <input type="text" [(ngModel)]="stuNo" placeholder="请输入学号">
    </div>
    <div>
      <i class="my-icon-password"></i>
      <input type="password" [(ngModel)]="password" placeholder="请输入密码">
    </div>
    <div>
      <i class="my-icon-confirm"></i>
      <input type="password" [(ngModel)]="confirmpassword" placeholder="请再次确认密码">
    </div>
    <button class="login-btn" (click)="register()">注册/REGISTER</button>
  </div>
</ion-content>
